package com.studentcontrol;

import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpSession;

/**
 * @author :wn
 * @program : 学生信息管理系统
 * @descript : 退出
 * @create :2020-11-13 23:31
 */

public class ExitAction {
    public String exit(){
        HttpSession session= ServletActionContext.getRequest().getSession();
        session.invalidate();
        return "success";
    }

}
